Skip to main content

ExportVul

Description

'export' the detected vulnerability records according to the query conditions.

Request Method

POST

Request Path

/apsara/route/aegis/ExportVul

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
StatusListBODYstringNoNo sample value for this parameter.vulnerability handling status, value range: 1: indicates pending processing 2: indicates that it has been ignored 3: indicates confirmed 8: indicates that it has been marked as a false positive 16: indicates that processing 32: indicates that the processing is complete supports specifying multiple states separated.
NecessityBODYstringNoNo sample value for this parameter.Vulnerability repair necessity, value range: asap: indicates that it needs to be repaired as soon as possible later: indicates that the repair can be delayed nntf: indicates that it can not be repaired for the time being
ResourceBODYstringNoNo sample value for this parameter.source of vulnerability repair batch.
DealedBODYstringNoNo sample value for this parameter.whether the vulnerability has been processed. Y: indicates processed N: indicates unprocessed
versionBODYstringNo2016-01-01version of api
NameBODYstringNoNo sample value for this parameter.vulnerability name.
BatchNameBODYstringNoNo sample value for this parameter.vulnerability fix batch name.
TypeBODYstringNoNo sample value for this parameter.vulnerability classification.
regionIdBODYstringYesNo sample value for this parameter.region id
AliasNameBODYstringNoNo sample value for this parameter.vulnerability alias.
LevelBODYstringNoNo sample value for this parameter.vulnerability level.
UuidsBODYstringNoNo sample value for this parameter.host asset UUID, specifying multiple host asset UUIDs separated.

Return data

NameTypeSample valueDescription
Progressintegerno demo value'export' progress.
TotalCountintegerno demo valuetotal number of 'export'ed records.
RequestIdstringno demo valuerequest ID.
Messagestringno demo value'export' task status description or failure information.
FileNamestringno demo value'export' file name.
ExportStatusstringno demo value'export' task status: init: indicates that the 'export' task is being initialized pending: indicates that the 'export' task is waiting for summary 'export'ing: indicates that the 'export' task is running success: indicates that the 'export' task has been successfully completed fail: indicates that the 'export' task failed
CurrentCountintegerno demo valuecurrently number of 'export'ed records.
Idintegerno demo value'export' task record ID.
Linkstringno demo value'export' file download link.

Example

Successful Response example

{
"Progress":"no demo value",
"TotalCount":"no demo value",
"RequestId":"no demo value",
"Message":"no demo value",
"FileName":"no demo value",
"ExportStatus":"no demo value",
"CurrentCount":"no demo value",
"Id":"no demo value",
"Link":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}